package com.babyqiao.wallpaper.manager.controller.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 添加分类的参数类
 *
 * @author qinglongzhai
 * @date 2020/12/12
 */
@ApiModel(value = "AddCategoryParams类", description = "添加分类的参数")
public class AddCategoryParams {

    /**
     * 分类名称
     */
    @ApiModelProperty(value = "分类名称", example = "头像")
    private String title;

    /**
     * 分类级别
     */
    @ApiModelProperty(value = "分类级别", example = "1")
    private String level;

    /**
     * 父ID
     */
    @ApiModelProperty(value = "父ID", example = "1334767173783027714")
    private String parentId;


    @ApiModelProperty(value = "封面", example = "https://xxx/xx/")
    private String cover;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    @Override
    public String toString() {
        return "AddCategoryParams{" +
                "title='" + title + '\'' +
                ", level='" + level + '\'' +
                ", parentId='" + parentId + '\'' +
                ", cover='" + cover + '\'' +
                '}';
    }
}
